package com.csun.dsms.service;

import com.alibaba.fastjson.JSONObject;
import com.csun.dsms.comment.core.support.IService;
import com.csun.dsms.comment.core.utils.wrapper.Wrapper;
import com.csun.dsms.model.education.JyProblemManagement;
import com.csun.dsms.model.education.JyQueryDto;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface JyDataService extends IService<JyProblemManagement> {


    PageInfo queryListWithPage(JyQueryDto jyQueryDto);

    Wrapper<Object> importData(MultipartFile file);

    void downExcelData(HttpServletResponse response);

    Wrapper<PageInfo<JyProblemManagement>> queryProblemManagementPage(JSONObject reqJson);

    void exportAllData(HttpServletResponse response, JSONObject reqJson);

    Wrapper<Object> dataByDepartment(HttpServletResponse response, JSONObject reqJson);

    Wrapper<Object> dataByArea(HttpServletResponse response, JSONObject reqJson);

    Wrapper<Object> dataByBigTypeName(HttpServletResponse response, JSONObject reqJson);

    Wrapper<Object> dataByProminentProblem(HttpServletResponse response, JSONObject reqJson);

    Wrapper<Object> dataByProblemType(HttpServletResponse response, JSONObject reqJson);

    void exportDataByEstablished(HttpServletResponse response, JSONObject reqJson);

    Wrapper<Object> dataByIsTopTen(HttpServletResponse response, JSONObject reqJson);

    Wrapper<JyProblemManagement> queryProblemManagementTotal(JSONObject reqJson);


}
